﻿@using WebApplicationFileSys.Models

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="~/Content/layui-v2.8.15/layui/css/layui.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-3.4.1.min.js"></script>
    <script src="~/Content/layui-v2.8.15/layui/layui.js"></script>
    <script type="text/javascript" >
        /*去掉字符串两侧空格*/
        String.prototype.myTrim = function () {
            return this.replace(new RegExp("^\\s*|\\s*$", "g"), "");
        }
        /* 退出登录 */
        function myExit() {
            if (confirm("确认退出？")) {
                window.location.href="/LoginHandle/ExitLogin";
            }
        }
    </script>

    <title>@ViewBag.Title - 文件浏览</title>
    @*@Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")*@
    @RenderSection("css", required: false)
</head>
<body style="padding:5px 20px;">
    <div>
        <div style="float:right;margin-right:50px;">
            <span>当前用户：</span>
            <b>@Session[KeyValueConfig.KeyUserSession]</b>
            <span style="margin-left:30px;">@*<a  href="/LoginHandle/ExitLogin">退出</a>*@
            <input type="button" onclick="myExit() " value="退出" />
            </span>
        </div>
        <div style="clear:both;"></div>
    </div>
    @RenderBody()

    @*@Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/bootstrap")*@
    @RenderSection("scripts", required: false)
</body>
</html>
